User loginNavigation |
Zipper as InsecticideFrom the 2005 ACM SIGPLAN Workshop on ML, here is An Applicative Control-Flow Graph Based on Huet's Zipper, by Norman Ramsey and João Dias.
By Anton van Straaten at 2007-09-07 01:54 | Functional | Implementation | login or register to post comments | other blogs | 11545 reads
Jon Udell on CoScripterThe web site description of CoScripter:
Jon's discussion emphasizes the DSL perspective (and end-user programming). The community dynamics enabled by exposing a DSL seem to me the interesting aspect of this discussion. Yet another example you can use when arguing in favor of textual, user accessible, DSLs. By Ehud Lamm at 2007-09-06 23:33 | DSL | login or register to post comments | other blogs | 6426 reads
Squeak by Example
You can browse the LaTex files in the svn repository. Tagless Staged Interpreters for Simpler Typed LanguagesFinally Tagless, Partially Evaluated, Tagless Staged Interpreters for Simpler Typed Languages.
Oleg explains: It seems like a common wisdom that an embedding of a typed object language (e.g., DSL) to a typed meta-language so that all and only typed object terms can be represented requires dependent types, GADTs or other such advanced type systems. In fact, this problem of writing (tagless) type-preserving typed interpreters has been the motivation for most of the papers on GADTs. We show that regardless of merits and conveniences of GADTs, type-preserving typed interpretation can be achieved with no GADTs whatsoever, using very simple type systems of ML or Haskell98. We also show the same approach lets us perform statically type-preserving partial evaluation and call-by-value or call-by-name CPS tansformations. The latter transformations, too, are often claimed impossible in Haskell98 or ML - requiring instead quite advanced type systems or language features.
The complete (Meta)OCaml and Haskell code accompanying the paper is One of features of our approach is writing the DSL code in a form that can be interpreted in multiple ways. Recently we have become aware the very same approach underlies `abstract categorial grammars' (ACG) in linguistics. Chung-chieh Shan has written an extensive article on this correspondence. That post itself can be interpreted in several ways: the file can be read as plain text, or it can be loaded as it is in Haskell or OCaml interpreters. It should be noted that the linguistic terms `tectogrammatics' and `phenogrammatics' were coined by none else but Haskell Curry, in his famous 1961 paper 'Some Logical Aspects of Grammatical Structure'. The summary of the ESSLLI workshop describes further connections to linear lambda-calculus. The paper has been accepted for APLAS; the authors appreciate any comments indeed. By Ehud Lamm at 2007-09-04 09:35 | Implementation | Meta-Programming | Type Theory | 30 comments | other blogs | 31574 reads
Rob Pike on Concurrency and Message passing in NewsqueakPatrick has the details. No Name: Just Notes on Software ReuseNo Name: Just Notes on Software Reuse. Robert Biddle, Angela Martin, James Noble.
This report isn't new, but seeing as it's awfully quiet around here and it does contain amusing pictures and quotations, I thought I'd share the link. Escape from Zurg: An Exercise in Logic ProgrammingEscape from Zurg: An Exercise in Logic Programming by Martin Erwig. Journal of Functional Programming, Vol. 14, No. 3, 253-261, 2004
By Andris Birkmanis at 2007-09-01 15:04 | Functional | Logic/Declarative | Teaching & Learning | 21 comments | other blogs | 17857 reads
Lifting Abstract Interpreters to Quantified Logical DomainsLifting Abstract Interpreters to Quantified Logical Domains. Sumit Gulwani, Bill McCloskey, Ashish Tiwari. July 2007.
By Ehud Lamm at 2007-09-01 13:40 | Theory | login or register to post comments | other blogs | 8051 reads
Barker & Szabolcsi: New directions for proof theory in linguisticsBarker & Szabolcsi: New directions for proof theory in linguistics. ESSLLI 2007. We sometimes mention that some of the theoretical tools used in PLT are aslo used in linguistics, and this is a great resource for those who want to catch up on recent developments, as well as for those who want to know what's all the fuss is about. You'll find all the usual suspects: types, continuations, Curry-Howard etc. Enjoy! R6RS ValidatedR6RS has been ratified, with approximately 2/3rds of voters in favour. |
Browse archives
Active forum topics |
Recent comments
2 weeks 3 days ago
2 weeks 4 days ago
2 weeks 5 days ago
2 weeks 5 days ago
3 weeks 3 days ago
3 weeks 3 days ago
3 weeks 3 days ago
6 weeks 4 days ago
7 weeks 2 days ago
7 weeks 2 days ago